home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Arsenal Files 8
/
The Arsenal Files Collection #8 (Arsenal Computer) (1996).ISO
/
pcboard
/
vrs501.zip
/
VRS-M453.PPE
(
.txt
)
< prev
next >
Wrap
PCBoard Programming Language Executable
|
1996-10-08
|
5KB
|
206 lines
;------------------------------------------------------------------------------
; .ss.
; `²²'
; .,sS$Ss,,s$ .,sS$$$Ss. .,sS$Ss,,s$ .ss. .sSs.
; .d$$²^°²$$$$'.d$P²°^^²$P'.d$$²^°²$$$$'.$$$' .$$$²Sb,.
; $$$' .$$$' $$$²Sçsµ²' .$$$' .$$$'.$$$' .$$$' `$$b.
; $$$b,,d$$$' ,$$$b,....,s$$$$b,,d$$$'.$$$;.,$$$' ;$$$
; `²S$$S²²S$$S²°²S$$$$S²°°²S$$$$$$',$$S²°²S$S'.sS$$$P²'
; .sS²°$$$²²°"' d²°'
; .$$² .$$'
; $$$.,d$$'
; `²S$$S²'
;------------------------------------------------------------------------------
; P.P.L.X. 2.OO (C)1996 - Lone Runner / AEGiS CoRP'96
;------------------------------------------------------------------------------
; PPE 3.2O (Encryption type I) - Analysis ON - Postprocessing ON
;------------------------------------------------------------------------------
String STRING001
String STRING002
String STRING003
String STRING004
String STRING005
String STRING006
String STRING007
String STRING008
;------------------------------------------------------------------------------
Goto LABEL001
End
If (0 == 0) STRING001 = "NO"
If (0 == 1) STRING001 = "YES"
EndFunc
:LABEL001
STRING004 = String(PcbNode())
If (PcbNode() == 0) STRING004 = "A"
STRING008 = GetEnv(STRING004 + "RECNO")
STRING008 = ToInteger(STRING008)
STRING003 = "@X01≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡@X0F"
STRING005 = String(Random(1000)) + "X" + STRING004
:LABEL002
Gosub LABEL004
If (DGet(0, "CASH") < DGet(0, "LEVEL") * 500) Then
Backup 80
ClrEol
PrintLn "@X0CYou don't have enough cash on hand to get that valuable info!...get lost!@X0F"
Newline
Call PPEPath() + "VRS-M19.PPE"
Else
Backup 80
ClrEol
PrintLn "@X0AIt will cost you @X02", DGet(0, "LEVEL") * 500, "@X0A credits for this info."
:LABEL003
InputStr "Are you still interested @X02(@X0EY@X02/@X0EN@X02) _", STRING002, 15, 1, "YN", 0 + 8
If (STRING002 == "N") Goto LABEL005
If (STRING002 == "") Then
Backup 80
ClrEol
Goto LABEL003
Endif
Backup 80
ClrEol
InputStr "@X0EWho do you want to spy on @X0A> _", STRING007, 15, 25, Mask_Ascii(), 0 + 8
DTop 0
DTag 0, STRING005
DSeek 0, STRING007
If (DChkStat(0) > 0) Then
Newline
PrintLn "NOT FOUND"
Delay (2 * 182) / 10
Gosub LABEL004
Goto LABEL002
Endif
DGo 0, STRING008
DPut 0, "CASH", DGet(0, "CASH") - DGet(0, "LEVEL") * 500
DTop 0
DTag 0, STRING005
DSeek 0, STRING007
STRING006 = Strip(DGet(0, "VITALITY"), " ")
Select Case (STRING006)
Case "Y"
STRING006 = "ALIVE"
Case "N"
STRING006 = "DEAD"
Case "C"
STRING006 = "CRYO-CORPSE"
Case "S", "B", "I"
STRING006 = "SLEEPING"
End Select
Cls
Newline
PrintLn "Virtual Reality Soldier - @X0ASpy on another Soldier@X0F"
PrintLn STRING003
Newline
PrintLn "@X02Alias@X01···················@X0E:@X0A ", RTrim(DGet(0, "HANDLE"), " ")
PrintLn "@X02Experience@X01··············@X0E:@X0A ", Strip(DGet(0, "EXP"), " "), "@POS:46@@X02Level@X01··············@X0E:@X0A ", Strip(DGet(0, "LEVEL"), " ")
PrintLn "@X02Alive or Dead@X01···········@X0E:@X0A ", STRING006, "@POS:46@@X02# of player kills@X01··@X0E:@X0A ", Strip(DGet(0, "KILLS"), " ")
PrintLn "@X02Base Hitpoints@X01··········@X0E:@X0A ", Strip(DGet(0, "HITPTS_B"), " "), "@POS:46@@X02Hitpoints Left@X01·····@X0E:@X0A ", Strip(DGet(0, "HITPTS_L"), " ")
PrintLn "@X02Player Fights Left@X01······@X0E:@X0A ", Strip(DGet(0, "P_FTS_L"), " "), "@POS:46@@X02Robot Fights Left@X01··@X0E:@X0A ", Strip(DGet(0, "R_FTS_L"), " ")
PrintLn "@X02Offensive Strength@X01······@X0E:@X0A ", Strip(DGet(0, "OFF_STR"), " "), "@POS:46@@X02Defensive Strength@X01·@X0E:@X0A ", Strip(DGet(0, "DEF_STR"), " ")
PrintLn "@X02Number of times played@X01··@X0E:@X0A ", Strip(DGet(0, "PLAYED"), " "), "@POS:46@@X02Mutation Level@X01·····@X0E:@X0A ", Strip(DGet(0, "INFECTED"), " ")
PrintLn "@X02Cash on Hand@X01············@X0E:@X0A ", Strip(DGet(0, "CASH"), " "), "@POS:46@@X02Cash in the bank@X01···@X0E:@X0A ", Strip(DGet(0, "BANKED"), " ")
PrintLn "@X0E───────────────────────────────────────────────────────────────────────────────@X0F"
PrintLn "@X0A─────@X02Weapon NAMe@X0A────────────@X02Ammo@X0A─@X02Damage@X0A─ ─Armor NAMe────────────────────Damage─@X0F"
PrintLn Trim(DGet(0, "WEAPT0"), " "), "@X03@POS:30@", RTrim(DGet(0, "WEAPA0"), " "), "@X0C@POS:34@", RTrim(DGet(0, "WEAPD0"), " "), "@POS:43@@X0A", RTrim(DGet(0, "ARMOR_T"), " "), "@POS:74@@X0C", RTrim(DGet(0, "ARMOR_D"), " ")
If (DGet(0, "WEAPN1") > 0) PrintLn "@X0F", RTrim(DGet(0, "WEAPT1"), " ") , "@POS:30@@X03", RTrim(DGet(0, "WEAPA1"), " ") , "@X0C@POS:34@", RTrim(DGet(0, "WEAPD1"), " ")
If (DGet(0, "WEAPN2") > 0) PrintLn "@X0F", RTrim(DGet(0, "WEAPT2"), " ") , "@X03@POS:30@", RTrim(DGet(0, "WEAPA2"), " ") , "@X0C@POS:34@", RTrim(DGet(0, "WEAPD2"), " ")
If (DGet(0, "S_W_NUMBER") > 0) PrintLn "@X0F", RTrim(DGet(0, "S_W_NAME"), " ") , "@X03@POS:30@", RTrim(DGet(0, "S_W_AMMO"), " ") , "@X0C@POS:34@", RTrim(DGet(0, "S_W_DAMAGE"), " ")
Newline
Call PPEPath() + "VRS-M19.PPE"
Goto LABEL005
:LABEL004
DCloseAll
Delete PPEPath() + STRING005 + ".NDX"
STRING005 = String(Random(1000)) + "X" + STRING004
DOpen 0, PPEPath() + "USER.DBF", 0
DnCreate 0, PPEPath() + STRING005 + ".NDX", "HANDLE"
DGo 0, STRING008
Return
Endif
:LABEL005
DCloseAll
Delete PPEPath() + STRING005 + ".NDX"
End
;------------------------------------------------------------------------------
;
; Usage report (before postprocessing)
;
; ■ Statements used :
;
; 2 End
; 1 Cls
; 4 ClrEol
; 16 Goto
; 14 Let
; 19 PrintLn
; 14 If
; 2 Delete
; 2 InputStr
; 2 Gosub
; 1 Return
; 1 Delay
; 5 Newline
; 2 Call
; 4 Backup
; 1 EndFunc
; 1 DOpen
; 2 DCloseAll
; 1 DnCreate
; 2 DTop
; 2 DGo
; 2 DTag
; 2 DSeek
; 1 DPut
;
;
; ■ Functions used :
;
; 4 *
; 1 /
; 16 +
; 1 -
; 11 ==
; 1 <
; 4 >
; 7 !
; 2 ||
; 14 RTrim()
; 1 Trim()
; 2 Random()
; 14 Strip()
; 3 String()
; 1 Mask_Ascii()
; 6 PPEPath()
; 2 PcbNode()
; 1 GetEnv()
; 1 ToInteger()
; 37 DGet()
; 1 DChkStat()
;
;------------------------------------------------------------------------------
;
; Analysis flags : C
;
; C - Call child PPE ■ 3
; This is usually normal, but may be a tricky way to launch some
; sysop-only commands.
; ■ Search for : CALL
;
;------------------------------------------------------------------------------
;
; Postprocessing report
;
; 0 For/Next
; 0 While/EndWhile
; 3 If/Then or If/Then/Else
; 1 Select Case
;
;------------------------------------------------------------------------------
; AEGiS Corp - Break the routines, code against the machines!
;------------------------------------------------------------------------------